<?php

function win_tooltip_handler() {
  $args = func_get_args();
  $type = $args[0];
  switch ($type) {
  case 'common_name':
    win_tooltip_common_name();
    break;
  case 'common_name_language':
    win_tooltip_common_name_language();
    break;
  case 'common_name_region':
    win_tooltip_common_name_region();
    break;
  case 'gender':
    win_tooltip_gender();
    break;
  case 'life_stage':
    win_tooltip_life_stage();
    break;
  case 'common_name_english':
    win_tooltip_common_name_english();
    break;
  case 'scientific_name':
    win_tooltip_scientific_name();
    break;
  case 'author':
    win_tooltip_author();
    break;
  case 'year':
    win_tooltip_year();
    break;
  case 'kingdom':
    win_tooltip_kingdom();
    break;
  case 'phylum':
    win_tooltip_phylum();
    break;
  case 'class':
    win_tooltip_class();
    break;
  case 'order':
    win_tooltip_order();
    break;
  case 'family':
    win_tooltip_family();
    break;
  case 'genus':
    win_tooltip_genus();
    break;
  case 'species':
    win_tooltip_species();
    break;
  case 'taxanomic_status':
    win_tooltip_taxanomic_status();
    break;
  case 'nomenclature_type_status':
    win_tooltip_nomenclature_type_status();
    break; 
  case 'ecosystem':
    win_tooltip_ecosystem();
    break;
  case 'eco_subsystem':
    win_tooltip_eco_subsystem();
    break;
  case 'nativeness':
    win_tooltip_nativeness();
    break;
  case 'iucn_threat_category':
    win_tooltip_iucn_threat_category();
    break;
  case 'date_range':
    win_tooltip_date_range();
    break;
  case 'from_date':
    win_tooltip_from_date();
    break;
  case 'to_date':
    win_tooltip_to_date();
    break;
  case 'on_date':
    win_tooltip_on_date();
    break;
  case 'know_exact_time':
    win_tooltip_know_exact_time();
    break;
  case 'exact_time':
    win_tooltip_exact_time();
    break;
  case 'part_of_day':
    win_tooltip_part_of_day();
    break;
  case 'altitude':
    win_tooltip_altitude();
    break;
  case 'depth':
    win_tooltip_depth();
    break;
  case 'country':
    win_tooltip_country();
    break;
  case 'region_state':
    win_tooltip_region_state();
    break;
  case 'city':
    win_tooltip_city();
    break;
  case 'locality':
    win_tooltip_locality();
    break;
  case 'waterbody_observation':
    win_tooltip_waterbody_observation();
    break;
  case 'waterbody_type':
    win_tooltip_waterbody_type();
    break;
  case 'waterbody_name':
    win_tooltip_waterbody_name();
    break;
  case 'number_individuals':
    win_tooltip_number_individuals();
    break;
  case 'basis_of_record':
    win_tooltip_basis_of_record();
    break;
  case 'language_of_record':
    win_tooltip_language_of_record();
    break;
  case 'observer':
    win_tooltip_observer();
    break;
  case 'other_observer':
    win_tooltip_other_observer();
    break;
  case 'observer_first_name':
    win_tooltip_observer_first_name();
    break;
  case 'observer_last_name':
    win_tooltip_observer_last_name();
    break;
  case 'observer_email':
    win_tooltip_observer_email();
    break;
  case 'affiliation':
    win_tooltip_affiliation();
    break;
  case 'postal_address':
    win_tooltip_postal_address();
    break;
  case 'phone_number':
    win_tooltip_phone_number();
    break;
  case 'mobile_number':
    win_tooltip_mobile_number();
    break;
  case 'comments':
    win_tooltip_comments();
    break;
  case 'image':
    win_tooltip_image();
    break;
  case 'copyright':
    win_tooltip_copyright();
    break;
  case 'captcha':
    win_tooltip_captcha();
    break;
  case 'observer_address1':
    win_tooltip_observer_address1();
    break;
  case 'observer_address2':
    win_tooltip_observer_address2();
    break;

  case 'observer_city':
    win_tooltip_observer_city();
    break;
  case 'observer_region':
    win_tooltip_observer_region_state();
    break;
  case 'observer_country':
    win_tooltip_observer_country();
    break;

  default:
    win_tooltip($type);
    break;
  }
}

function win_tooltip($type) {
  echo $type;
}


function win_tooltip_scientific_name() {
?>
  The scientific name of a species is made up of 2 parts called genus and species, which is in Latin language. It is usually printed in italics or in bold letters. The first letter of the genus is capitalized while the species part is in lower case. For example, the scientific name of the tiger (Common Name) is Panthera (genus) tigris (species). 
<?php
}

function win_tooltip_common_name() {
?>
  The name of a species by which it is known to the general public and not the latin scientific or taxonomic name (Genus and species). For example, vernacular name, colloquial name, trivial name, trivial epithet, country name, or farmers name. The common names can be entered in original script such as Spanish, French, Hindi including other languages. 

<?php
}

function win_tooltip_common_name_language() {
?>
Select the language in which the entered Common Name in the above field is known.
<?php
}

function win_tooltip_common_name_region() {
?>
  Enter the name of the region, for which the Common Name is entered.
<?php
}

function win_tooltip_year() {
?>
The year in which the species was first named or described.
<?php
}

function win_tooltip_life_stage() { 
?>
Select the life stage of the observed organism for which the Common Name is entered. Some species have different Common Names for different life stages.  Choose 'Not sure' if not known or 'Not Applicable' when it is not life stage specific.
<?php
  } 

function win_tooltip_common_name_english() {
  ?>
  Enter the English name or spelling of the species Common Name that you have entered above. 
    <?php
    }


function  win_tooltip_gender() { 
?>
  Select the gender of the observed species for, which Common Name is entered. Incases, where the presence of both male and female sexes are observed in same individual species, please select Hermaphrodite. Choose 'Not sure' if not known or 'Not Applicable' when it is not gender specific.

<?php
 }

function win_tooltip_kingdom() {
?>
  kingdom or regnum is a taxonomic rank in either (historically) the highest rank, or (in the new three-domain system) the rank below domain. The species are grouped in different kingdoms such as Animalia, Plantae, Fungi, Protista and Monera.
<?php
}

function win_tooltip_author() {
  ?>
  The author name is defined both as "the name of the person who gave that particular species latinised name (scientific name) ". For example, Panthera tigris (Linnaeus). In this example Linnaeus is the author who named tiger as Panthera tigris.
    <?php
    }

function win_tooltip_phylum() {
?>
  The major taxonomic group of animals and plants; contains classes 
<?php
}

function win_tooltip_class() {
?>
A taxonomic group containing one or more orders 
<?php
}

function win_tooltip_order() {
?>
  A taxonomic classification between class and family. (biology) taxonomic group containing one or more families.A more exact taxon than a class, the primates are an example of a taxon order. To further differentiate unique species, orders are divided into organisms respective families
<?php
}

function win_tooltip_family() {
?>
  A taxonomic group containing one or more genera; "e.g. sharks belong to the fish family" 
<?php
}

function win_tooltip_genus() {
?>
  A genus (plural: genera) is a taxonomic unit (a taxon) used in the classification of living and fossil organisms 
<?php
}

function win_tooltip_species() {
?>
 <ul>
    <li> The lowest taxonomic rank, and the most basic unit or category of biological   classification.
    <li> An individual belonging to a group of organisms (or the entire group itself) having common characteristics and (usually) are capable of interbreeding.
</ul>
<?php 
}

function   win_tooltip_taxanomic_status() {
?>
  Terms used to describe the taxonomic status of a taxon, e.g. valid/accepted, homotypic synonym, etc.
<?php
}

function win_tooltip_nomenclature_type_status() {
?>
The status related to the original publication of the name and its conformance to the relevant rules of nomenclature. It is based essentially on an algorithm according to the business rules of the code. It requires no taxonomic opinion.
<?php
}

function win_tooltip_ecosystem() {
?>
  The term ecosystem refers to the combined physical and biological components of an environment. An ecosystem is generally an area within the natural environment in which physical (a biotic) factors of the environment, such as rocks and soil, function together along with interdependent (biotic) organism, such as plants and animals, within the same habitat. Ecosystems can be permanent or temporary. 
<?php
}

function win_tooltip_eco_subsystem() {
?>
Sub type of the ecosystem.
<?php
}

function win_tooltip_nativeness() {
?>
Existing in or belonging to one by nature. 
<?php
  }

function win_tooltip_iucn_threat_category() {
?>
  The IUCN Red List Categories and Criteria are intended to be an easily and widely understood system for classifying species at high risk of global extinction. The general aim of the system is to provide an explicit, objective framework for the classification of the broadest range of species according to their extinction risk. However, while the Red List may focus attention on those taxa at the highest risk, it is not the sole means of setting priorities for conservation measures for their protection.
<?php
}

function win_tooltip_date_range() {
?>
  Enter the probable time period of the observation, i.e. from-to date, during which the observation was recorded.
<?php
}

function win_tooltip_from_date() {
?>
  Start date when the biological individual(s) occurence was recorded
<?php
}
function win_tooltip_to_date() {
?>
  End date when the biological individual(s) occurence was recorded
<?php
}

function win_tooltip_on_date() {
?>
  The exact date on which the species was observed or recorded.

<?php
}

function win_tooltip_know_exact_time() {
?>
  Exact time of the day when the species was observed or recorded.

<?php
}

function win_tooltip_exact_time() {
?>
  Please enter the exact time when the biological individual(s) occurence was recorded
<?php
}

function win_tooltip_part_of_day() {
?>
Period of the day when the species was observed or recorded. Select multiple choices by pressing control key. 
<?php
}

function win_tooltip_altitude() {
?>
  Height (above Mean Sea Level) at which the species was observed. Enter the value in meters only.
<?php
}
function win_tooltip_depth() {
?>
  Depth (below Mean Sea Level) at which the species was observed. Enter the value in meters only.
<?php
}

function win_tooltip_country() {
?>
Country is politically organized body of people under a single government. Select the country where observation has been made from the drop down list. Upon selection of the choice only regions or states under the jurisdiction of the country will appear in Region or State field.
<?php
}

function win_tooltip_region_state() {
?>
An administrative region is under the jurisdiction of a country. Only those states or regions belonging to a country chosen in previous field can be seen in drop down and can be selected. Upon selection of choice only cities under the jurisdiction of state will appear in city field.
<?php
}

function win_tooltip_city() {
?>
  A large and densely populated urban area; may include several independent administrative districts. 
<?php
}

function win_tooltip_locality() {
?>
Name of the locality or neighborhood where observation was recorded. Please type correct spelling of the locality.
<?php
}

function win_tooltip_waterbody_observation() {
?>
  waterbody (often spelled water body) is any significant accumulation of water, usually covering the Earth or another planet. 
<?php
}

function win_tooltip_waterbody_type() {
?>
  Select the type of waterbody in which the species was observed or recorded. There are three options to choose; lake, river and ocean. If it is man-made reservoir choose lake.
<?php
}

function win_tooltip_waterbody_name() {
?>
This is mandatory field. Please enter the name of the waterbody. Do not forget to mark the location either in location information module or directly on the map.

<?php
}

function win_tooltip_number_individuals() {
?>
  Please note the numbers of individual species that are there in the photograph or video. Remember if there is more than one organism, then you are expected to create separate records. Here we report numbers of the same plant or animal. 
<?php
}

function win_tooltip_basis_of_record() {
?>
This refers to the type of resource or source of record. Please select appropriate option.
<?php
}

function win_tooltip_language_of_record() {
?>
Language used to submit the species observation record. Currently the submission is in English only. In near future support for multiple languages will be added.
<?php
}

function win_tooltip_observer() {
?>
If observer is logged in user or some other user\
<?php
}

function win_tooltip_other_observer() {
?>
  If the observer's name is already present, it can be selected from the drop down list. If not, then select New. This will require that you add the details of the new observer. First name, last name and mobile number is mandatory.
<?php
}

function win_tooltip_observer_first_name() {
?>
First name of the Observer
<?php
}

function win_tooltip_observer_last_name() {
?>
Last name of the Observer
<?php
}

function win_tooltip_observer_email() {
?>
Email id name of the Observer
<?php
}

function win_tooltip_affiliation() {
?>
If Observer is affiliated to some organization
<?php
}

function win_tooltip_postal_address() {
?>
Address of the Observer
<?php
}

function win_tooltip_phone_number() {
?>
Phone number of the Observer
<?php
}

function win_tooltip_mobile_number() {
?>
Mobile number of the Observer
<?php
}

function win_tooltip_comments() {
?>
  Please provide any additional relevant information that you deem to be important. For example, processing details of the media, the weather and the climate at the time of observation.

<?php
}

function win_tooltip_image() {
?>
Browse your local disk and choose the media file to be uploaded.

<?php
}

function win_tooltip_copyright() {
?>
  Please enter name of the person or group who is owner of the media, i.e. audio, video and image. Please enter the name that  you would like to see watermarked on the uploaded artifact.
<?php
}

function win_tooltip_captcha() {
?>
  By entering the code you see in the image, you help us prevent automated programs from accessing this web site. This ensures better performance of our online services for you.
  You need to type the code of letters and / or digits you see in the image into the adjacent field. If you are not sure what the code is, make your best guess. If you guess incorrectly, you will be given a different code to try.
  If no image appears, please make sure your browser is set to display images and try again.
<?php
}
function win_tooltip_observer_address1() {
?>
Address line 1 of the observer.
<?php
}
function win_tooltip_observer_address2() {
?>
Address line 2 of the observer.
<?php
}
function win_tooltip_observer_city() {
?>
City of the observer.
<?php
}
function win_tooltip_observer_region_state() {
?>
Region/state of observer.
<?php
}
function win_tooltip_observer_country() {
?>
Country of the observer.
<?php
} ?>
